<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Fixed Sidebar Left 左侧菜单</title>
</head>
<body>
    <div th:fragment="sidebar" class="fixed-sidebar">
    <!--折叠时左侧菜单-->
    <div class="fixed-sidebar-left sidebar--small" id="sidebar-left">
        <a href="02-ProfilePage.html" th:href="@{'/profilePage?userId='+${session.user.getUserId()}}" class="logo">
            <div class="img-wrap">
                <img th:src="@{/img/logo.png}" alt="Olympus">
            </div>
        </a>
        <div class="mCustomScrollbar" data-mcs-theme="dark">
            <ul class="left-menu">
                <!--切换菜单栏-->
                <li>
                    <a href="#" class="js-sidebar-open">
                        <svg class="olymp-menu-icon left-menu-icon" data-toggle="tooltip" data-placement="right"
                             data-original-title="切换菜单栏">
                            <use xlink:href="../static/svg-icons/sprites/icons.svg#olymp-menu-icon"
                            th:href="@{/svg-icons/sprites/icons.svg#olymp-menu-icon}"></use>
                        </svg>
                    </a>
                </li>
                <!--新闻广场-->
                <li>
                    <a href="03-NewsSquare.html" th:href="@{/newsSquare}">
                        <svg class="olymp-newsfeed-icon left-menu-icon" data-toggle="tooltip" data-placement="right"
                             data-original-title="新闻广场">
                            <use xlink:href="../static/svg-icons/sprites/icons.svg#olymp-newsfeed-icon"
                            th:href="@{/svg-icons/sprites/icons.svg#olymp-newsfeed-icon}"></use>
                        </svg>
                    </a>
                </li>
                <!--好友动态-->
                <li>
                    <a href="04-FriendSquare.html" th:href="@{/friend/findByUserId(userId=${session.user.getUserId()})}">
                        <svg class="olymp-star-icon left-menu-icon" data-toggle="tooltip" data-placement="right"
                             data-original-title="好友动态">
                            <use xlink:href="../static/svg-icons/sprites/icons.svg#olymp-star-icon"
                            th:href="@{/svg-icons/sprites/icons.svg#olymp-star-icon}"></use>
                        </svg>
                    </a>
                </li>
                <!--个人中心-->
                <li>
                    <a href="05-PersonDetail.html" th:href="@{/personDetail}">
                        <svg class="olymp-manage-widgets-icon left-menu-icon" data-toggle="tooltip"
                             data-placement="right" data-original-title="个人中心">
                            <use xlink:href="../static/svg-icons/sprites/icons.svg#olymp-manage-widgets-icon"
                                 th:href="@{/svg-icons/sprites/icons.svg#olymp-manage-widgets-icon}" ></use>
                        </svg>
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <!--end折叠时左侧菜单-->
    <!--展开时左侧菜单-->
    <div class="fixed-sidebar-left sidebar--large" id="sidebar-left-1">
        <a href="02-ProfilePage.html" th:href="@{'/profilePage?userId='+${session.user.getUserId()}}" class="logo">
            <div class="img-wrap">
                <img th:src="@{/img/logo.png}" alt="Olympus">
            </div>
            <div class="title-block">
                <h6 class="logo-title">olympus</h6>
            </div>
        </a>
        <div class="mCustomScrollbar" data-mcs-theme="dark">
            <ul class="left-menu">
                <!--切换菜单栏-->
                <li>
                    <a href="#" class="js-sidebar-open">
                        <svg class="olymp-close-icon left-menu-icon">
                            <use xlink:href="../static/svg-icons/sprites/icons.svg#olymp-close-icon"
                                 th:href="@{/svg-icons/sprites/icons.svg#olymp-close-icon}"></use>
                        </svg>
                        <span class="left-menu-title">切换菜单栏</span>
                    </a>
                </li>
                <!--新闻广场-->
                <li>
                    <a href="03-NewsSquare.html" th:href="@{/newsSquare}">
                        <svg class="olymp-newsfeed-icon left-menu-icon" data-toggle="tooltip" data-placement="right"
                             data-original-title="">
                            <use xlink:href="../static/svg-icons/sprites/icons.svg#olymp-newsfeed-icon"
                                 th:href="@{/svg-icons/sprites/icons.svg#olymp-newsfeed-icon}"></use>
                        </svg>
                        <span class="left-menu-title">新闻广场</span>
                    </a>
                </li>
                <!--好友动态-->
                <li>
                    <a href="04-FriendSquare.html" th:href="@{/friend/findByUserId(userId=${session.user.getUserId()})}">
                        <svg class="olymp-star-icon left-menu-icon" data-toggle="tooltip" data-placement="right"
                             data-original-title="">
                            <use xlink:href="../static/svg-icons/sprites/icons.svg#olymp-star-icon"
                                 th:href="@{/svg-icons/sprites/icons.svg#olymp-star-icon}"></use>
                        </svg>
                        <span class="left-menu-title">好友动态</span>
                    </a>
                </li>
                <!--个人中心-->
                <li>
                    <a href="05-PersonDetail.html" th:href="@{/personDetail}">
                        <svg class="olymp-manage-widgets-icon left-menu-icon" data-toggle="tooltip"
                             data-placement="right" data-original-title="">
                            <use xlink:href="../static/svg-icons/sprites/icons.svg#olymp-manage-widgets-icon"
                                 th:href="@{/svg-icons/sprites/icons.svg#olymp-manage-widgets-icon}"></use>
                        </svg>
                        <span class="left-menu-title">个人中心</span>
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <!--end展开时左侧菜单-->
</div>
</body>
</html>